<?php

	require_once('../src/prelude.php');


	if (isset($_GET['type'])) {

		$sType = $_GET['type'];

		displayFrameset($sType .' &ndash; Tekuna API',
						'<frameset rows="70%,*">' .
						'	<frame src="showDocumentation.php?type='. $sType .'" name="documentation" />' .
						'	<frame src="showSource.php?type='. $sType .'" name="source" />' .
						'</frameset>');
	}
	else {

		displayFrameset('Tekuna API',
						'<frameset rows="70%,*">' .
						'	<frame src="welcome.php" name="documentation" />' .
						'	<frame src="help.php" name="source" />' .
						'</frameset>');
	}

?>